package oop1.Task;

public class Motor {
    Double weight;
    Double price;
    String brand;
    public void show(){
        System.out.println("发动机的品牌是"+brand);
        System.out.println("重量为"+weight+"千克，价格为"+price+"人民币");
    }
}
